<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="x"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>收货地址</title>
<!--    <link rel="stylesheet" href="css/base.css">-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui-v2.6.8/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/common.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/address.css">
</head>
<body>
<!-- 你的 HTML 代码 -->
<!--<div class="nav" ></div>-->
<!-- 顶部导航 -->
<div class="header">
    <div class="w">
        <div class="logo fl"><a href="${pageContext.request.contextPath}/selectGoods">LOGO</a></div>
        <div class="search">
            <input type="text" name="" class="text" placeholder="请输入">
            <button class="btn"><i class="layui-icon layui-icon-search"></i></button>
        </div>
        <div class="r_box fr">
            <a href="${pageContext.request.contextPath}/lookCart"><i class="layui-icon layui-icon-cart-simple"></i></a>
            <span class="r_box_login"><a href="${pageContext.request.contextPath}/allOrder">${user.username}</a></span>
        </div>
    </div>
</div>

<div class="address_1" >
    <div class="title" >
      <b>新增收货地址</b>
    </div>

    <div class="address_2 " align="left">
        <form  action = "${pageContext.request.contextPath}/updateAddress">
            <table  align="center">
                    <tr class="tr">
                        <td>
                            地址信息(必须重新选择一下)：
                        </td>
                    </tr>
                    <tr class="tr">
                        <td>
                            <div class="layui-input-inline fxk" >
                                <select  name ="adr" class="xuanzekuang">
                                    <option value="" >请选择省</option>
                                    <option value="山西" selected="">山西省</option>
                                    <option value="北京">北京省</option>
                                    <option value="成都">成都省</option>
                                    <option value="上海">上海省</option>
                                    <option value="浙江">浙江省</option>
                                    <option value="江西">江西省</option>
                                    <option value="福建">福建省</option>
                                </select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </div>
                            <div class="layui-input-inline">
                                <select class="xuanzekuang" name="adr">
                                    <option value="">请选择市</option>
                                    <option value="太原" selected="">太原</option>
                                    <option value="忻州">忻州</option>
                                    <option value="晋中">晋中</option>
                                    <option value="大同">大同</option>
                                    <option value="临汾">临汾</option>
                                </select>
                            </div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <div class="layui-input-inline">
                                <select name="adr" class="xuanzekuang">
                                    <option value="">请选择县/区</option>
                                    <option value="万柏林区" selected="">万柏林区</option>
                                    <option value="迎泽区">迎泽区</option>
                                    <option value="尖草坪区">尖草坪区</option>
                                    <option value="晋源区">晋源区</option>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr><td><div>&nbsp;</div></td></tr>
                    <tr class="tr">
                        <td>
                            详细地址：
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="text" class="inp" name="detail" value="${address1.detail}" />
                        </td>
                    </tr>
                    <tr><td><div >&nbsp;</div></td></tr>
                    <tr class="tr">
                        <td>
                            收货人姓名：
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="text" class="inp"  name="name" value="${address1.name}"/>
                        </td>
                    </tr>
                    <tr><td><div >&nbsp;</div></td></tr>
                    <tr class="tr">
                        <td>
                            手机号：
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="text" class="inp" name="phone" value="${address1.phone}" />
                        </td>
                    </tr>
                    <tr><td><div >&nbsp;</div></td></tr>
                    <tr class="tr">
                        <td>
                            邮编：
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="text" class="inp" name="mail" value="${address1.mail}" />
                        </td>
                    </tr>
                    <tr>
                    	<td><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    	&nbsp;&nbsp;&nbsp;&nbsp;<input type="hidden" name = "address_id" value = "${address1.address_id}">
             	<input type="submit" value="修改"></td>
                    </tr>
                </table>
                
        </form>
    </div>
</div>
<div class="clearfix"></div>
<!--    <div class="footer">-->
<!--        <div class="w">-->
<!--            <div class="mod_help">-->
<!--                <dl class="mod_help_item">-->
<!--                    <dt>购物指南</dt>-->
<!--                    <dd><a href="#">购物流程</a></dd>-->
<!--                    <dd><a href="#">会员介绍</a></dd>-->
<!--                    <dd><a href="#">常见问题</a></dd>-->
<!--                </dl>-->
<!--                <dl class="mod_help_item">-->
<!--                    <dt>购物指南</dt>-->
<!--                    <dd><a href="#">购物流程</a></dd>-->
<!--                    <dd><a href="#">会员介绍</a></dd>-->
<!--                    <dd><a href="#">常见问题</a></dd>-->
<!--                </dl>-->
<!--                <dl class="mod_help_item">-->
<!--                    <dt>购物指南</dt>-->
<!--                    <dd><a href="#">购物流程</a></dd>-->
<!--                    <dd><a href="#">会员介绍</a></dd>-->
<!--                    <dd><a href="#">常见问题</a></dd>-->
<!--                </dl>-->
<!--                <dl class="mod_help_item">-->
<!--                    <dt>购物指南</dt>-->
<!--                    <dd><a href="#">购物流程</a></dd>-->
<!--                    <dd><a href="#">会员介绍</a></dd>-->
<!--                    <dd><a href="#">常见问题</a></dd>-->
<!--                </dl>-->
<!--            </div>-->
<!--            <div class="mod_copyright">-->
<!--                <p class="mod_copyright_links">-->
<!--                    关于我们  |  联系我们  |  联系客服  |  商家入驻  |  营销中心  |  手机购  |  友情链接  |  销售联盟  |  社区  |  公益  |  English Site  |  Contact U-->
<!--                </p>-->
<!--                <p class="mod_copyright_info">-->
<!--                    地址：北京市昌平区建材城西路金燕龙办公楼一层 邮箱: zhanghj+itcast.cn <br>-->
<!--                    京ICP备08001421号京公网安备110108007702-->
<!--                </p>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->

</body>
</html>